package com.hunt.dao;

import com.hunt.model.entity.MainData;
import com.hunt.model.entity.MainDateNew;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MainDataMapper {

    void insertMainData(MainData mainData);
    void deleteMainDatas();
    int count();
    List<MainData> selectAll(@Param("page")int page, @Param("rows")int rows,
                             @Param("fieldName") String fieldName, @Param("order")String order);
    int countbyfundhold();
    List<MainDateNew>selectAllbyfundhold(@Param("page")int page, @Param("rows")int rows,
                                         @Param("fieldName") String fieldName, @Param("order")String order);

}
